// 模拟从后端接口获取的路由信息
export async function fetchRoutes(): Promise<any[]> {
    return new Promise(resolve => {
        setTimeout(() => {
            resolve([
                {
                    path: '/a',
                    name: 'la',
                    component: '../layout/index.vue',
                    meta: { requiresAuth: true },
                },
            ]);
        }, 500);
    });
}
